using System;
using System.Collections.Generic;
using Enum;
using Struct;

namespace Data {

    [Serializable]
    public class FightBuffData {

        /// <summary>
        /// buff名称
        /// </summary>
        public string buffName;

        /// <summary>
        /// buff类型
        /// </summary>
        public EnumBuffType buffType;

        /// <summary>
        /// 剩余回合
        /// </summary>
        public int remainingRounds;

        public List<PropertiesStruct> propertiesList = new();

        public FightBuffData() { }

        /// <summary>
        /// 添加buff成功的回调
        /// </summary>
        public Action addCallback = null;
        /// <summary>
        /// 移除buff成功的回调
        /// </summary>
        public Action removeCallback = null;

        public FightBuffData(string buffName, EnumBuffType buffType, int remainingRounds) {
            this.buffName = buffName;
            this.buffType = buffType;
            this.remainingRounds = remainingRounds;
        }
    }


}